<template>
  <button
    type="button"
    :class="['qf-button', 'qf-button--' + type, round ? 'is-round' : '']"
    @click="$emit('click')"
  >
    <slot></slot>
  </button>
</template>

<script>
export default {
  name: "qfbutton",
  //接受
  props: {
    type: {
      type: String,
      default: "default",
    },
    round: {
      type: Boolean,
      default: false,
    },
  },
};
</script>

<style></style>
